#ifndef __MOTOR_H__
#define __MOTOR_H__

#include "stm32f10x.h"                  // Device header

#define Motor1_PIN          GPIO_Pin_6
#define Motor2_PIN          GPIO_Pin_7
#define Motor3_PIN          GPIO_Pin_0
#define Motor4_PIN          GPIO_Pin_1

#define Motor_PWM_MAX       1000
#define Motor_PWM_MIN       0

void Motor_Init(void);
void Motor_PWM(int16_t M1_PWM, int16_t M2_PWM, int16_t M3_PWM, int16_t M4_PWM);


#endif
